package com.hu.zhcc.shiro.service.xsx;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.xsx.TGozuoTojiMapper;
import com.hu.zhcc.shiro.entity.xsx.XsxTGozuoToji;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 工作量统计表 服务实现类
 * </p>
 *
 * @author xsx
 * @since 2021-06-28
 */
@Service
public class TGozuoTojiServiceImpl extends ServiceImpl<TGozuoTojiMapper, XsxTGozuoToji> implements TGozuoTojiService {
    @Autowired
    TGozuoTojiMapper tGozuoTojiMapper;

    @Override
    public int addOne(XsxTGozuoToji tGozuoToji) {
        return tGozuoTojiMapper.addOne(tGozuoToji);
    }

    @Override
    public int updateNum(XsxTGozuoToji tGozuoToji) {
        return tGozuoTojiMapper.updateNum(tGozuoToji);
    }

    @Override
    public XsxTGozuoToji queryByJks(int jks) {
        return tGozuoTojiMapper.queryByJks(jks);
    }

    @Override
    public List<XsxTGozuoToji> queryAll() {
        return tGozuoTojiMapper.queryAll();
    }
}
